<?php
    $this->widget('application.components.SearchWidget', array(
        'params' => $params,
    ));

    foreach ($productGroup as $key => $value):
        echo CHtml::openTag('div', array('style' => 'overflow: hidden'));
        echo CHtml::openTag('div', array('class' => 'block-content'));
        echo CHtml::tag('div', array('style' => '', 'class' => 'block-title'),$value->category->name);
        echo CHtml::closeTag('div');        
        Product::fetchProduct($product, $value->category_id);
        echo CHtml::closeTag('div');
    endforeach;

     
?>